[INFO] cloning repository https://github.com/torsten-ostgard/color-bruteforcer
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/torsten-ostgard/color-bruteforcer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorsten-ostgard%2Fcolor-bruteforcer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorsten-ostgard%2Fcolor-bruteforcer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7c911ddb54a22b54571bd28732f1c4bbcbe63107
[INFO] fixing torsten-ostgard/color-bruteforcer against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftorsten-ostgard%2Fcolor-bruteforcer" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/torsten-ostgard/color-bruteforcer
[INFO] finished tweaking git repo https://github.com/torsten-ostgard/color-bruteforcer
[INFO] tweaked toml for git repo https://github.com/torsten-ostgard/color-bruteforcer written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/torsten-ostgard/color-bruteforcer on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/torsten-ostgard/color-bruteforcer already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86
[INFO] running `Command { std: "docker" "start" "5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   libc v0.2.65 (as host dependency) removed features: default, std
[INFO] [stderr] 
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling ppv-lite86 v0.2.6
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling memchr v2.2.1
[INFO] [stderr]    Compiling siphasher v0.3.1
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]     Checking scopeguard v1.0.0
[INFO] [stderr]     Checking unicode-width v0.1.6
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling num-traits v0.2.9
[INFO] [stderr]    Compiling nix v0.14.1
[INFO] [stderr]     Checking dirs-sys v0.3.4
[INFO] [stderr]     Checking void v1.0.2
[INFO] [stderr]    Compiling rayon-core v1.7.0
[INFO] [stderr]     Checking dirs v2.0.2
[INFO] [stderr]     Checking phf_shared v0.8.0
[INFO] [stderr]     Checking unicode-segmentation v1.6.0
[INFO] [stderr]     Checking utf8parse v0.1.1
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking atty v0.2.13
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking vec_map v0.8.1
[INFO] [stderr]     Checking either v1.5.3
[INFO] [stderr]     Checking regex-syntax v0.6.17
[INFO] [stderr]     Checking phf v0.8.0
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]     Checking clap v2.33.0
[INFO] [stderr]     Checking crossbeam-queue v0.2.0
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]     Checking pbr v1.0.2
[INFO] [stderr]    Compiling c2-chacha v0.2.3
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]     Checking aho-corasick v0.7.6
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]     Checking approx v0.3.2
[INFO] [stderr]     Checking crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]     Checking rayon v1.3.0
[INFO] [stderr]     Checking regex v1.3.7
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling palette v0.5.0
[INFO] [stderr]     Checking rustyline v6.0.0
[INFO] [stderr]    Compiling palette_derive v0.5.0
[INFO] [stderr]     Checking promptly v0.3.0
[INFO] [stderr]     Checking color_bruteforcer v1.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating tests/integration.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.56s
[INFO] [stderr] crater-edition-check: color_bruteforcer v1.1.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling libc v0.2.65
[INFO] [stderr]    Compiling getrandom v0.1.13
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling rand_chacha v0.2.1
[INFO] [stderr]    Compiling rand_pcg v0.2.1
[INFO] [stderr]    Compiling rand v0.7.2
[INFO] [stderr]    Compiling phf_generator v0.8.0
[INFO] [stderr]    Compiling phf_codegen v0.8.0
[INFO] [stderr]    Compiling palette v0.5.0
[INFO] [stderr]     Checking color_bruteforcer v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod lib;
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod lib;
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.35s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo.
[INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously.
[INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html
[INFO] [stderr] When building the following dependencies, the given features will no longer be used:
[INFO] [stderr] 
[INFO] [stderr]   libc v0.2.65 (as host dependency) removed features: default, std
[INFO] [stderr] 
[INFO] [stderr]     Checking color_bruteforcer v1.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/main.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/integration.rs from 2021 edition to 2024
[INFO] [stderr]        Fixed src/lib/mod.rs (2 fixes)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.36s
[INFO] [stderr] crater-edition-check: color_bruteforcer v1.1.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]     Checking color_bruteforcer v1.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod lib;
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/lib/mod.rs:408:9
[INFO] [stdout]     |
[INFO] [stdout] 408 |         unsafe { env::set_var("USE_MOCK_PROMPT", "true") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]    --> src/main.rs:7:42
[INFO] [stdout]     |
[INFO] [stdout]   7 | #![deny(missing_docs, nonstandard_style, unsafe_code, rust_2018_idioms)]
[INFO] [stdout]     |                                          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: usage of an `unsafe` block
[INFO] [stdout]    --> src/lib/mod.rs:411:9
[INFO] [stdout]     |
[INFO] [stdout] 411 |         unsafe { env::remove_var("USE_MOCK_PROMPT") };
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]   --> src/main.rs:14:1
[INFO] [stdout]    |
[INFO] [stdout] 14 | mod lib;
[INFO] [stdout]    | ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: lib.rs is the root of this crate's library target
[INFO] [stdout]    = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]    = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `color_bruteforcer` (bin "color_bruteforcer" test) due to 2 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86", kill_on_drop: false }`
[INFO] [stdout] 5dc8ef280c4189ae51b93647cefd7e4bf114a69f8497aad04abeeb9c4baaab86
